<?php
	defined( "AZ_EXE_" ) or die ( "ERROR : CORE VARIABLE IS NOT DEFINED." );
	class UL extends Element {
		public $listItems = array() ;
		public function UL( $attributes = array() , $listItems = array() ){
			parent::__construct("ul",$attributes);
			$this->listItems = $listItems ;
		}
		public function getList( $listItems = array() , $attributes = array() ){
			return new UL($attributes,$listItems);
		}
		public function setlistItems( $listItems = array() ){
			$this->listItems = $listItems ;
		}
		public function getElement(){
			$selectItems = "" ;
			foreach ( $this->listItems AS $key => $value ){
				$selectItems .="<li >$value</li>" ;
			}
			parent::setValue( $selectItems );
			return parent::getElement();
		}
	}
?>